package com.zdy.im.user.vo.response;


import java.io.Serializable;
import java.util.Date;

import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.common.data.BaseBeanClone;

/**
* @ClassName: ImRoomChatMessageShowResponseVo.java
* @Description: 的数据交互处理类
 * @Author 作者 : zdy
 * @CreateDate 创建时间: 2021-02-30
* @version V1.0.0
* <p>
* ----------------------------------------------------------------------------
*  modifyer    modifyTime                 comment
*
* ----------------------------------------------------------------------------
* </p>
*/
public class ImRoomChatMessageShowResponseVo extends BaseBeanClone implements Serializable {

    private long id;

	/** sendUserId 消息来源用户名  */
	@ApiDesc(value = "消息来源用户名", required = 0)
	private long sendUserId;

	/** sendUserName 消息来源用户名  */
	@ApiDesc(value = "消息来源用户名", required = 0)
	private String sendUserName;

	/** sendUsrImg 发送者头像  */
	@ApiDesc(value = "发送者头像", required = 0)
	private String sendUserImg;

	/** sendTime 发送者时间  */
	@ApiDesc(value = "发送者时间", required = 0)
	private Date sendTime;

	/** serviceTime 服务器时间  */
	@ApiDesc(value = "服务器时间", required = 0)
	private Date serviceTime;

	/** messageId 消息的来源ID（如果是私聊，则是用户id，如果是群聊，则是群组id）  */
	@ApiDesc(value = "消息的来源ID（如果是私聊，则是用户id，如果是群聊，则是群组id）", required = 0)
	private long messageId;

	/** globalId 消息唯一值id,使用雪花算法生成唯一id;用于排序和搜索使用  */
	@ApiDesc(value = "消息唯一值id,使用雪花算法生成唯一id;用于排序和搜索使用", required = 0)
	private long globalId;

	/** messageType 1.文本,包括表情,2.图片,3.视频,4.名片,5.文本和图片,6.文本和视频,7.图片和视频,8.分享群  */
	@ApiDesc(value = "1.文本,包括表情,2.图片,3.视频,4.名片,5.文本和图片,6.文本和视频,7.图片和视频,8.分享群", required = 0)
	private int messageType;

	/** content 消息内容,只要是包括文本信息,或者json信息  */
	@ApiDesc(value = "消息内容,只要是包括文本信息,或者json信息", required = 0)
	private String content;

	/** contentImg 消息内容图片链接  */
	@ApiDesc(value = "消息内容图片链接", required = 0)
	private String contentImg;

	/** contentVideo 消息内容视频链接  */
	@ApiDesc(value = "消息内容视频链接", required = 0)
	private String contentVideo;

	/** mine 是否本人发送 1是，0否  */
	@ApiDesc(value = "是否本人发送 1是，0否", required = 0)
	private int mine;

	/** toId 消息的接收id  */
	@ApiDesc(value = "消息的接收id", required = 0)
	private long toId;

	/** toUserName 消息的接收者名称  */
	@ApiDesc(value = "消息的接收者名称", required = 0)
	private String toUserName;

	/** toUserImg 消息的接收者头像,如果是群则为空  */
	@ApiDesc(value = "消息的接收者头像,如果是群则为空", required = 0)
	private String toUserImg;

	/** readStatus 1 已读 0 未读  */
	@ApiDesc(value = "1 已读 0 未读", required = 0)
	private int readStatus;

    public static ImRoomChatMessageShowResponseVo build(){
        return new ImRoomChatMessageShowResponseVo();
    }

	public ImRoomChatMessageShowResponseVo toId(long id) {
		this.id = id;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toSendUserId(long sendUserId) {
		this.sendUserId = sendUserId;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toSendUserName(String sendUserName) {
		this.sendUserName = sendUserName;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toSendUserImg(String sendUserImg) {
		this.sendUserImg = sendUserImg;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toSendTime(Date sendTime) {
		this.sendTime = sendTime;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toServiceTime(Date serviceTime) {
		this.serviceTime = serviceTime;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toMessageId(long messageId) {
		this.messageId = messageId;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toGlobalId(long globalId) {
		this.globalId = globalId;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toMessageType(int messageType) {
		this.messageType = messageType;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toContent(String content) {
		this.content = content;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toContentImg(String contentImg) {
		this.contentImg = contentImg;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toContentVideo(String contentVideo) {
		this.contentVideo = contentVideo;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toMine(int mine) {
		this.mine = mine;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toToId(long toId) {
		this.toId = toId;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toToUserName(String toUserName) {
		this.toUserName = toUserName;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toToUserImg(String toUserImg) {
		this.toUserImg = toUserImg;
		return this;
	}

	public ImRoomChatMessageShowResponseVo toReadStatus(int readStatus) {
		this.readStatus = readStatus;
		return this;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getSendUserId() {
		return sendUserId;
	}

	public void setSendUserId(long sendUserId) {
		this.sendUserId = sendUserId;
	}

	public String getSendUserName() {
		return sendUserName;
	}

	public void setSendUserName(String sendUserName) {
		this.sendUserName = sendUserName;
	}

	public String getSendUserImg() {
		return sendUserImg;
	}

	public void setSendUserImg(String sendUserImg) {
		this.sendUserImg = sendUserImg;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public Date getServiceTime() {
		return serviceTime;
	}

	public void setServiceTime(Date serviceTime) {
		this.serviceTime = serviceTime;
	}

	public long getMessageId() {
		return messageId;
	}

	public void setMessageId(long messageId) {
		this.messageId = messageId;
	}

	public long getGlobalId() {
		return globalId;
	}

	public void setGlobalId(long globalId) {
		this.globalId = globalId;
	}

	public int getMessageType() {
		return messageType;
	}

	public void setMessageType(int messageType) {
		this.messageType = messageType;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContentImg() {
		return contentImg;
	}

	public void setContentImg(String contentImg) {
		this.contentImg = contentImg;
	}

	public String getContentVideo() {
		return contentVideo;
	}

	public void setContentVideo(String contentVideo) {
		this.contentVideo = contentVideo;
	}

	public int getMine() {
		return mine;
	}

	public void setMine(int mine) {
		this.mine = mine;
	}

	public long getToId() {
		return toId;
	}

	public void setToId(long toId) {
		this.toId = toId;
	}

	public String getToUserName() {
		return toUserName;
	}

	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}

	public String getToUserImg() {
		return toUserImg;
	}

	public void setToUserImg(String toUserImg) {
		this.toUserImg = toUserImg;
	}

	public int getReadStatus() {
		return readStatus;
	}

	public void setReadStatus(int readStatus) {
		this.readStatus = readStatus;
	}
}
